package com.zhouyu.nettyclient.service;

import com.zhouyu.nettyclient.config.ProtoClientConfig;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description:
 */

@Service
@Log4j2
public class SendService {

    @Autowired
    private ProtoClientConfig nettyClient;


    public void sendMsg() {
        nettyClient.getSocketChannel().writeAndFlush(null);
    }
}
